package org.osami.phidget.proxy;

import org.osami.gateway.sensor.SenseData;
import org.osgi.util.measurement.Measurement;

public class PhidgetSenseData implements SenseData{
	
	private int m_value;
	private String m_unit;
	private String m_type;
	private String m_senseId;
	private Long m_timeStamp;
	
	public PhidgetSenseData(int _value,String _type, String _unit, String _senseId, Long _timeStamp){
		m_value = _value;
		m_unit = _unit;
		m_type = _type;
		m_senseId = _senseId;
		m_timeStamp = _timeStamp;
	}

	public String getUnit() {		
		return m_unit;
	}

	public Double getValue() {		
		return new Double(m_value);
	}

	

	public Measurement toMeasurement() {
		// TODO Auto-generated method stub
		return null;
	}

	public String getSenseId() {
		return m_senseId;
	}

	public Long getTimeStamp() {		
		return m_timeStamp;
	}

	public String getType() {
		return m_type;
	}



}
